package com.itheima.wms.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.wms.common.service.ICrudService;
import com.itheima.wms.entity.CheckTaskEntity;
import com.itheima.wms.vo.BatchVO;
import com.itheima.wms.vo.CheckTaskDetailVO;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 业务接口
 * 盘点任务
 * </p>
 */
public interface CheckTaskService extends ICrudService<CheckTaskEntity> {

    BatchVO complete(List<Long> ids);

    BatchVO task(List<Long> ids);

    String task(Long id);

    BatchVO increaseDecrease(List<Long> ids);

    IPage<CheckTaskDetailVO> pageDetail(Page<CheckTaskDetailVO> page, Map data);
}
